import request from '@/utils/request'

// 新增
export const getSaveApi = (data: object) =>
    request({
        url: 'user/save',
        method: 'post',
        data
    })

// 查询注册结果 // 店铺名称查重
export const getStatusApi = (params: object) =>
    request({
        url: 'user/get-status',
        method: 'get',
        params
    })


// 商户账号查重
export const getLoginNameApi = (params: object) =>
    request({
        url: 'user/get-loginName',
        method: 'get',
        params
    })